Generic 12x8

Game hierarchy

• Game
    • Generic Chess
        • Generic x8
            • Generic 12x8

Piece Types

Internal NameNameNotationAdded ByNotes
KingKingKGeneric Chess 
PawnPawnPGeneric Chess 

Game Variables

From Game:

Name = string
Invented = string
InventedBy = string
NumberOfSquareColors = integer
FENFormat = string
FENStart = string
Array = string
DeduplicateMoves = boolean
StaticExchangeEvaluation = boolean

From Generic Chess:

StalemateResult = choice of { Draw, Win, Loss }   (default: Draw)
PromotionRule = choice of { None, Standard, Replacement, Custom }   (default: Standard)
PromotionTypes = string
BareKing = boolean   (default: false)
EnPassant = boolean   (default: true)
PromotingType = PieceType   (default: Pawn)
CastlingType = PieceType   (default: King)

From Generic x8:

PawnDoubleMove = boolean   (default: false)

From Generic 12x8:

Castling = choice of:

  • 3-3: King starting on f or g file slides three squares either direction, subject to the usual restrictions, to castle with the piece in the corner
  • 3-4: King starting on f or g file slides three squares when castling short or four when castling long, subject to the usual restrictions, to castle with the piece in the corner
  • 4-4: King starting on f or g file slides four squares either direction, subject to the usual restrictions, to castle with the piece in the corner
  • 4-5: King starting on f or g file slides four squares when castling short or five when castling long, subject to the usual restrictions, to castle with the piece in the corner
  • Close-Rook 2-2: King starting on f or g file slides two squares either direction, subject to the usual restrictions, to castle with the piece on the b or k file
  • Close-Rook 2-3: King starting on f or g file slides two squares when castling short or three when castling long, subject to the usual restrictions, to castle with the piece on the b or k file
  • Close-Rook 3-3: King starting on f or g file slides three squares either direction, subject to the usual restrictions, to castle with the piece on the b or k file
  • Close-Rook 3-4: King starting on f or g file slides three squares when castling short or four when castling long, subject to the usual restrictions, to castle with the piece on the b or k file
  • Flexible: King starting on f or g file slides two or more squares, subject to the usual restrictions, to castle with the piece in the corner
  • Close-Rook Flexible: King starting on f or g file slides two or more squares, subject to the usual restrictions, to castle with the piece on the b or k file
  • Custom: Indicates a custom rule implemented by a derived class
  • None: No castling

 
 

COPYRIGHT (C) 2021 BY GREG STRONG